package com.inspur.demo.common;

/**
 *    
 * 结果消息
 *
 * @desc: 通用性 结果消息返回
 * @author: li.peng02
 * @date: 2019/1/29
 * @version: v1.0 
 */
public class CommResultMsg<T> {

    /**
     * serialVersionUID
     */
    private static final long serialVersionUID = -8193775849271220617L;

    /**
     * 成功标志
     */
    private Boolean result;

    /**
     * 额外描述信息
     */
    private String description;

    /**
     * 错误码
     */
    private String errorCode;

    /**
     * 返回 指定对象
     */
    private T obj;


    public Boolean getResult() {
        return result;
    }

    public void setResult(Boolean result) {
        this.result = result;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public T getObj() {
        return obj;
    }

    public void setObj(T obj) {
        this.obj = obj;
    }

    public String getErrorCode() {
        return errorCode;
    }

    public void setErrorCode(String errorCode) {
        this.errorCode = errorCode;
    }
}
